Page({
    data: {
        params: {},
        result: {}
    },

    onLoad: function(options) {
        const { code, params, result } = options;
        this.setData({
            params: JSON.parse(params),
            result: JSON.parse(result)
        });
    },

    goBack: function() {
        wx.navigateBack();
    }
});